/**
 * Created by vincent on 2017/9/11.
 */
moduleOrganizationClient.config(function ($stateProvider) {
    $stateProvider
        .state("sz.organizationClientQuery", {
            cache: false,
            url: '/organizationClientQuery',
            views: {
                'sz-main': {
                    templateUrl: 'templates/OrganizationClientQuery.html',
                    controller: 'OrganizationClientQuery'
                }
            }
        })
        .state("sz.organizationClientDetail", {
            cache: false,
            url: '/organizationClientDetail/:organizationClientId/:organizationClientCode',
            views: {
                'sz-main': {
                    templateUrl: 'templates/OrganizationClientDetail.html',
                    controller: 'OrganizationClientDetail'
                }
            },
            params: {
                organizationClientId: null,
                organizationClientCode: null
            }
        })

        //
        .state("sz.organizationClientTreeDetail", {
            cache: false,
            url: '/organizationClientTreeDetail/:organizationClientId',
            views: {
                'sz-main': {
                    templateUrl: 'templates/OrganizationClientTreeDetail.html',
                    controller: 'OrganizationClientTreeDetail'
                }
            },
            params: {
                organizationClientId: null
            }
        })
    ;


    DialogState.addState("organizationClientUserMgt", {
        template: 'templates/OrganizationClientUserMgt.html',
        controller: 'OrganizationClientUserMgt'
    });
    DialogState.addState("clientUserChangePassword", {
        template: 'templates/OrganizationClientUserChangePassword.html',
        controller: 'OrganizationClientUserChangePassword'
    });
    DialogState.addState("findOrganizationClient", {
        template: 'templates/FindOrganizationClient.html',
        controller: 'FindOrganizationClient'
    });
    // DialogState.addState("languageDetailMgt", {
    //     template: 'templates/LanguageDetailMgt.html',
    //     controller: 'LanguageDetailMgt'
    // });
    //
    //DialogState.addState("addStudyClassGroup", {
    //    template: 'templates/AddStudyClassGroupMgt.html',
    //    controller: 'AddStudyClassGroupController'
    //});
    //

});
